package com.morningstar.common.result;

import lombok.Data;

/**
 * 服务校验结果类
 */
@Data
public class ServiceCheckResult {

    /**
     * true 校验失败
     * false 校验成功
     */
    private boolean result;

    /**
     * 校验失败消息提示
     */
    private String message;


    public ServiceCheckResult() {
    }

    public ServiceCheckResult(boolean result) {
        this.result = result;
    }

    public ServiceCheckResult(boolean result, String message) {
        this.result = result;
        this.message = message;
    }
}
